import request from '@/utils/request'



export function PMSworkList(data) { //将本增效-列表
  return request({
    url: '/project-quality/api/statistics/pms/page',
    method: 'post',
    data
  })
}
export function PMSworkListAll(data) { //将本增效-列表
  return request({
    url: '/project-quality/api/statistics/pms/statistics',
    method: 'post',
    data
  })
}


export function PMSworkAdd(data) { //将本增效-新增
  return request({
    url: '/project-quality/api/statistics/pms/add',
    method: 'post',
    data
  })
}


export function PMSworkEdit(data) { //将本增效-编辑
  return request({
    url: '/project-quality/api/statistics/pms/edit',
    method: 'post',
    data
  })
}


export function PMSworkDelete(id) { //将本增效-删除
  return request({
    url: '/project-quality/api/statistics/pms/del/' + id,
    method: 'get',
  })
}


export function PMSworkDetails(id) { //将本增效-详情
  return request({
    url: '/project-quality/api/statistics/pms/' + id,
    method: 'get',
  })
}

export function  PMSworkExport(data) { //将本增效-导出
  return request({
      url: '/project-quality/api/statistics/pms/export',
      responseType: 'arraybuffer',
      method: 'POST',
      data,
  })
}